package com.guodu.service;

import java.util.List;

import com.guodu.entity.PurchaseBiddingPlan;
import com.guodu.entity.PurchasebiddingStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchaseBiddingPlanQueryVo;
import com.guodu.vo.PurchaseBiddingPlanVo;

public interface PurchaseBiddingPlanService {

	PurchaseBiddingPlanVo findAllMoney(PurchaseBiddingPlanQueryVo pbpq, Units units);
	
	long findSizeByVo(PurchaseBiddingPlanQueryVo pbpq, Units units);
    public void examinAll(PurchaseBiddingPlanQueryVo pbpq, Units units);
	List<PurchaseBiddingPlanVo> findByVo(PurchaseBiddingPlanQueryVo pbpq,Units units, int curPage, int pageSize);

	void save(PurchaseBiddingPlan purchaseBiddingPlan);

	PurchaseBiddingPlan findById(String purchaseId);

	void update(PurchaseBiddingPlan purchaseBiddingPlan, Long status);

	List<PurchasebiddingStatus> findStatus(String purchaseId);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	void delByIds(String[] delIds);

	List<PurchaseBiddingPlan> findAllByVo(PurchaseBiddingPlanQueryVo pbpq,
			Units attribute);


}
